package com.dream.vo.app;

import java.io.Serializable;

import com.dream.model.app.AppCodeItem;


/**
 * 
 * @author Evan
 * @date 2013-8-29
 * 
 */
public class AppCodeVO implements Serializable{

	/**
	 * 
	 */
	private static final long serialVersionUID = 4629819837549909902L;
	
	private Long id;
	
	private Integer seq;
	
	private String name;
	
	private Long appCodeId;
	
	private String appCodeName;
	
	private String extension;
	
	
	public String getExtension() {
		return extension;
	}

	public void setExtension(String extension) {
		this.extension = extension;
	}

	public Long getAppCodeId() {
		return appCodeId;
	}

	public void setAppCodeId(Long appCodeId) {
		this.appCodeId = appCodeId;
	}

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getAppCodeName() {
		return appCodeName;
	}

	public void setAppCodeName(String appCodeName) {
		this.appCodeName = appCodeName;
	}

	public Integer getSeq() {
		return seq;
	}

	public void setSeq(Integer seq) {
		this.seq = seq;
	}
	
	public void populate(AppCodeItem item){
		
		if(item == null){return;}
		
		item.setAppCodeId(appCodeId);
		item.setName(name);
		item.setSequence(seq);
		item.setExtension(extension);
		
	}
}
